#ifndef Zoomer_First
#define Zoomer_First
#ifdef __GNUG__
#pragma interface
#endif

#include "Scroller.h"

class Command;
class MenuBar;

//---- Zoomer ------------------------------------------------------------------

class Zoomer: public Scroller {
	float defaultzoom;
public:
	MetaDef(Zoomer);
	Zoomer(VObject *v, const Point &extent= gPoint0, float dz= 1.0);
	Clipper *MakeClipper();
	void DoSetupMenu(Menu *mp);
	Command *DoMenuCommand(int cmd);
	static Menu* MakeMenu(int menuId);
};

#endif

